<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        //字符串
        // let hd = new String("baidu.com");
        // console.log(hd.toString());
        //转义字符
        // let hd = "bai\"du.com"
        // // let hd = 'bai"du.com'
        // console.log(hd);
        let year = "2023";
        let site = "后盾人";
        console.log(year + '');// 字符串连接
        //推荐写法
        console.log(`${site}成立于${year}`); 
    </script>
</body>

</html>